<template>
  <div class="banner banner-wraps">
    <img 
    :src="condata.src"
    alt=""> 
    <div class="banner-text">
      <h3>{{ condata.title }}</h3>
      <p>{{ condata.dis }}</p>
    </div>
  </div>
</template>
<script setup>
defineProps({
  condata: {
    type: {},
    required: true
  }
})
</script>
<style>
.banner {
  position: relative;
  height: 9.2rem;
  z-index: 2;
}

.banner img {
  width: 100%;
  height: 9.2rem;
}

.banner .banner-text {
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: 3.6rem;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
}

.banner .banner-text h3 {
  font-size: 0.62rem;
  font-weight: 400;
  margin-bottom: 0.14rem;
  letter-spacing: 0.02rem;
}

.banner .banner-text p {
  font-size: 0.32rem;
  font-family: Athene;
  font-weight: 400;
  letter-spacing: 0.05rem;
}
</style>
